<?php
defined('MCACHE_DEBUG')             || define('MCACHE_DEBUG', false);
defined('MCACHE_DEV_SERVER')        || define('MCACHE_DEV_SERVER', false);
defined('MCACHE_CONNECT_TIMEOUT')   || define('MCACHE_CONNECT_TIMEOUT', 1); 

defined('MCACHE_XX5_ACT')           || define('MCACHE_XX5_ACT', 'mcache_xx5_act');

/**** getCacheServer start **************************/
function &getCacheServer($const_server)
{
    $ret = array();
    switch ($const_server) 
    {   
        case MCACHE_XX5_ACT:
            $ret = get_act_cache_config();
            break;
        default:
            if (MCACHE_DEBUG) { var_dump(func_get_args());}
    }   
   return $ret;
}
